package com.qin.springbootdemo.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.List;

/**
 * @author Leisure
 * create 2022 2022/6/18 10:52
 **/
@Document(collection = "cartlist")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class cartlistEntity {
    private String _id;

    private int goods_id;

    private boolean isSelect;

    private int num;

    private String typeID;

    private List<String> goodsTitle;

    private String goodsID;

    private String goodsImage;

    private String optionName;

    private String type_id;

    private String _openid;

    private int optionPrice;

    private int optionStock;
}
